package com.party.course.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.party.common.annotation.Excel;
import com.party.common.core.domain.BaseEntity;
import lombok.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 学员课程变动对象 student_change_info
 *
 * @author ruoyi
 * @date 2025-05-29
 */
@Data
@TableName(value = "student_change_info")
@ToString
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class StudentChangeInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    /**
     * "排课id"
     */
    @Excel(name = "排课id")
    private String planClassId;

    /**
     * "订单编号"
     */
    @Excel(name = "订单编号")
    private String orderCode;

    /**
     * "学员id"
     */
    @Excel(name = "学员id")
    private String stuId;

    /**
     * "学员编号"
     */
    @Excel(name = "学员编号")
    private String stuCode;

    /**
     * "学员名称"
     */
    @Excel(name = "学员名称")
    private String stuName;

    /**
     * "变动方式 0：出 1：入"
     */
    @Excel(name = "变动方式")
    private String tyep;

    /**
     * "变动类型 0：开课 1：销课 2：退课 3：充值课时 4：课时退还 5：扣除课时 "
     */
    @Excel(name = "变动类型")
    private String genre;

    /**
     * "变动前学时"
     */
    @Excel(name = "变动前学时")
    private String beforTimeNum;

    /**
     * "变动学时"
     */
    @Excel(name = "变动学时")
    private String changeTimeNum;

    /**
     * "变动后学时"
     */
    @Excel(name = "变动后学时")
    private String afterTimeNum;

    /**
     * "变动描述"
     */
    @Excel(name = "变动描述")
    private String datil;

    private String delFlag;


    /**
     * "推荐人手机号"
     */
    @Excel(name = "推荐人手机号")
    @TableField(exist = false)
    private String tjPersonPhone;


}
